import { demoVavConfig } from "./demoVavConfig"
import { appVersionCheck } from "../lib/appVersionCheck"

const meta = document.querySelector(`meta[name=${demoVavConfig.metaName}]`) as HTMLMetaElement
const msg = `version number on html: ${meta.content}`
console.log(msg)
const msgDiv = document.createElement('div')
msgDiv.innerText = msg
document.body.appendChild(msgDiv)

setTimeout(()=>{
    appVersionCheck(demoVavConfig, true)
}, 1000)